# Copyright (C) 2007 by Cristóbal Carnero Liñán
# grendel.ccl@gmail.com
#
# This file is part of cvBlob.
#
# cvBlob is free software: you can redistribute it and/or modify
# it under the terms of the Lesser GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# cvBlob is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# Lesser GNU General Public License for more details.
#
# You should have received a copy of the Lesser GNU General Public License
# along with cvBlob.  If not, see <http://www.gnu.org/licenses/>.
#


INCLUDE_DIRECTORIES(
    ${OPENCV246_DIR}/../../include/
)

link_directories ( ${OPENCV246_DIR}/lib )


set(cvBlob_CVBLOB cvblob.cpp
                  cvlabel.cpp
        		  cvaux.cpp
		          cvcontour.cpp
		          cvtrack.cpp
		          cvcolor.cpp
)

add_library(cvblob ${cvBlob_CVBLOB})

target_link_libraries(cvblob optimized opencv_core246.lib debug opencv_core246d.lib
                        optimized opencv_highgui246.lib debug opencv_highgui246d.lib
                        optimized opencv_features2d246.lib debug opencv_features2d246d.lib
                        optimized opencv_nonfree246.lib debug opencv_nonfree246d.lib
                        optimized opencv_calib3d246.lib debug opencv_calib3d246d.lib
                        optimized opencv_video246.lib debug opencv_video246d.lib
                        optimized opencv_imgproc246.lib debug opencv_imgproc246d.lib)


